import axios from '@/libs/api.request'
// 查询机构列表
export const getAuditSysOfficeList = (data) => {
  return axios.request({
    url: '/api/ac/csc/auditSysOffice/getAuditSysOfficeList',
    data: data,
    method: 'post'

  })
}
// 新增机构
export const saveAuditSysOffice = (data) => {
  return axios.request({
    url: '/api/ac/csc/auditSysOffice/saveAuditSysOffice',
    data: data,
    method: 'post'

  })
}
// 查询机构详情
export const getAuditSysOfficeInfo = (data) => {
  return axios.request({
    url: '/api/ac/csc/auditSysOffice/getAuditSysOfficeInfo',
    data: data,
    method: 'post'

  })
}
// 更改机构信息
export const updateAuditSysOfficeInfo = (data) => {
  return axios.request({
    url: '/api/ac/csc/auditSysOffice/updateAuditSysOfficeInfo',
    data: data,
    method: 'post'

  })
}
// 删除机构
export const deleteAuditSysOffice = (data) => {
  return axios.request({
    url: '/api/ac/csc/auditSysOffice/deleteAuditSysOffice',
    data: data,
    method: 'post'

  })
}
// 查询账号信息列表
export const getAuditSysUserList = (data) => {
  return axios.request({
    url: '/api/ac/csc/auditSysOffice/getAuditSysUserList',
    data: data,
    method: 'post'
  })
}

// 修改账号信息
export const updateAuditSysUserInfo = (data) => {
  return axios.request({
    url: '/api/ac/csc/auditSysOffice/updateAuditSysUserInfo',
    data: data,
    method: 'post'
  })
}

// 添加账号信息
export const saveAuditSysUser = (data) => {
  return axios.request({
    url: '/api/ac/csc/auditSysOffice/saveAuditSysUser',
    data: data,
    method: 'post'
  })
}

// 删除账号信息
export const deleteAuditSysUserInfo = (data) => {
  return axios.request({
    url: '/api/ac/csc/auditSysOffice/deleteAuditSysUserInfo',
    data: data,
    method: 'post'
  })
}

// 账号信息详情
export const getAuditSysUserInfo = (data) => {
  return axios.request({
    url: '/api/ac/csc/auditSysOffice/getAuditSysUserInfo',
    data: data,
    method: 'post'
  })
}

// 账号下模板列表
export const getAuditVisaList = (data) => {
  return axios.request({
    url: '/api/ac/csc/auditSysOffice/getAuditVisaList',
    data: data,
    method: 'post'
  })
}

// 更改账号下模板图片
export const updateAuditVisaInfo = (data) => {
  return axios.request({
    url: '/api/ac/csc/auditSysOffice/updateAuditVisaInfo',
    data: data,
    method: 'post'
  })
}

// 插入账号下模板信息
export const saveAuditElectronicVisa = (data) => {
  return axios.request({
    url: '/api/ac/csc/auditSysOffice/saveAuditElectronicVisa',
    data: data,
    method: 'post'
  })
}

// 根据company_code查询医保信息
export const yiBaoByCompanyCodeList = (data) => {
  return axios.request({
    url: '/api/as/csc/auditSysOffice/yiBaoByCompanyCodeInfo',
    data: data,
    method: 'post'
  })
}

// 根据社区名查询医保信息
export const yiBaoBySqmcList = (data) => {
  return axios.request({
    url: '/api/as/csc/auditSysOffice/yiBaoBySqmcList',
    data: data,
    method: 'post'
  })
}

// 更新医保信息
export const updateYiBaoInfo = (data) => {
  return axios.request({
    url: '/api/as/csc/auditSysOffice/updateYiBaoInfo',
    data: data,
    method: 'post'
  })
}

// 新建医保信息
export const saveyiBaoInfo = (data) => {
  return axios.request({
    url: '/api/as/csc/auditSysOffice/saveyiBaoInfo',
    data: data,
    method: 'post'
  })
}
